  -- Warp Splinter --
function spell0_17977(pUnit, Event) --@Arcane Volley,n/a--
pUnit:FullCastSpellOnTarget(36705,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17977', 1000, 1)
end
function spell1_17977(pUnit, Event) --@Arcane Volley,n/a--
pUnit:FullCastSpellOnTarget(39133,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17977', 1000, 1)
end
function spell2_17977(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(34716,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17977', 5000, 1)
end
function Sorts_17977(pUnit, Event)
choix_sorts_17977 = math.random(0, 2)
if choix_sorts_17977 == 0 then
pUnit:RegisterEvent('spell0_17977', 1, 1)
end
if choix_sorts_17977 == 1 then
pUnit:RegisterEvent('spell1_17977', 1, 1)
end
if choix_sorts_17977 == 2 then
pUnit:RegisterEvent('spell2_17977', 1, 1)
end
end
function mob17977_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17977', math.random(1500, 3000), 1)
end
function mob17977_Leave(pUnit, Event)
end
function mob17977_Kill(pUnit, Event)
end
function mob17977_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(17977, 1, 'mob17977_Action')
RegisterUnitEvent(17977, 2, 'mob17977_Leave')
RegisterUnitEvent(17977, 3, 'mob17977_Kill')
RegisterUnitEvent(17977, 4, 'mob17977_Die')
